package com.demo.dao.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SmsVerifyCodeMapper {
    //查询 用户是否到达发送短信最大限制，是否被锁
    List<String> selectPersonBlockStatus(@Param("personId") String personId, @Param("env") String env);

    // 从homer库中获取短信验证码
    List<String> selectSmsCodeFromHomer(@Param("strategyPhoneNumber") String strategyPhoneNumber);

    // 从HP库中获取短信验证码
    String selectSmsCodeFromHp(@Param("authorizationId") String authorizationId);

}
